Skip to content

Dependabot batching: weekly schedules + grouped updates to reduce lockfile conflict churn - #4806

Merged
xiang17 merged 4 commits into
mainfrom
copilot/reduce-concurrent-dependency-prs
Aug 4, 2026
Merged

Dependabot batching: weekly schedules + grouped updates to reduce lockfile conflict churn#4806
xiang17 merged 4 commits into
mainfrom
copilot/reduce-concurrent-dependency-prs

Conversation

Copilot AI commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Daily Dependabot runs with up to 10 concurrent PRs were generating many lockfile/license-touching PRs in parallel, creating persistent merge-conflict churn across open dependency PRs. This change reduces concurrency pressure by batching most updates while preserving isolation for high-churn/high-risk dependencies.

  • Main Gradle config (directory: "/")

    • switched to weekly on monday
    • reduced open-pull-requests-limit from 10 to 5
    • kept OpenTelemetry updates isolated in a dedicated opentelemetry group (including semconv patterns)
    • replaced narrow groups with a catch-all all-dependencies group limited to minor/patch updates, so major bumps remain isolated as individual PRs
  • Other ecosystems aligned

    • github-actions ("/"): switched to weekly and added catch-all grouping
    • gradle ("/perf-tests"): switched to weekly, reduced PR limit to 5, added catch-all minor/patch grouping
    • gradle ("/etw/etw-testapp"): switched to weekly, reduced PR limit to 5, added catch-all minor/patch grouping
  • Preserved as-is

    • all existing ignore rules and comments
    • registries configuration
    • gradle-plugin-portal references on each Gradle update entry

Example of the new grouping pattern (order-sensitive; OpenTelemetry first, catch-all second):

groups:
  opentelemetry:
    patterns:
      - "io.opentelemetry:opentelemetry-bom"
      - "io.opentelemetry.semconv:opentelemetry-semconv"
      # ...
  all-dependencies:
    patterns:
      - "*"
    update-types:
      - "minor"
      - "patch"

This targets the root cause (too many concurrent dependency PRs) rather than conflict-resolution automation. Tradeoff: grouped updates reduce immediate culprit isolation when a batch fails; mitigations are OpenTelemetry isolation and keeping major bumps separate. Configuration is straightforward to tune/revert if batching is too coarse.

Co-authored-by: xiang17 <9310587+xiang17@users.noreply.github.com>
Copilot AI changed the title [WIP] Reduce concurrency of dependency PRs to minimize conflicts Dependabot batching: weekly schedules + grouped updates to reduce lockfile conflict churn Jul 31, 2026
Copilot AI requested a review from xiang17 July 31, 2026 08:14
Co-authored-by: xiang17 <9310587+xiang17@users.noreply.github.com>
@xiang17
xiang17 marked this pull request as ready for review August 4, 2026 22:10
@xiang17
xiang17 merged commit af3c7a7 into main Aug 4, 2026
289 of 291 checks passed
@xiang17
xiang17 deleted the copilot/reduce-concurrent-dependency-prs branch August 4, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants